package com.xwaf.platform.web.config.netty;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

/**
 * 
 * <p>
 * WebSocket配置类
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2020年1月9日 下午12:31:03 <br>
 * @see 无<br>
 *      Copyright (c) 2020, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Configuration
@Data
public class WebSocketNettyClientConfig {

	@Value("${netty.port}")
	private int port;
	@Value("${netty.host}")
	private String host;
	@Value("${netty.websocket.url}")
	private String url;
	@Value("${netty.websocket.user_name}")
	private String userName;
}
